package com.yhq.basic.thread.lock;

import java.util.concurrent.CountDownLatch;

/**
 * @author hqyin
 * @date 2025/5/21 8:07 AM
 */
public class Demo4CountDownLatch {
    public static void main(String[] args) throws InterruptedException {
        CountDownLatch count = new CountDownLatch(2);
        count.countDown();
        count.await();
    }
}
